package com.yang.frost.blueberry.service;

import com.yang.frost.blueberry.domain.SysOperationLog;

import java.util.List;
import java.util.Map;

/**
 * @author 10296
 * @date 2021/1/20
 * @Description: 系统操作日志
 */
public interface SysOperationLogService {

    /**
     * 保存
     *
     * @param sysOperationLog 对象
     * @return 1 成功；0 失败
     * @throws Exception e
     */
    int saveSysOperationLog(SysOperationLog sysOperationLog) throws Exception;

    /**
     * 修改
     *
     * @param sysOperationLog 对象
     * @return 1 成功；0 失败
     * @throws Exception e
     */
    int updateSysOperationLog(SysOperationLog sysOperationLog) throws Exception;

    /**
     * 删除
     *
     * @param id 日志ID
     * @return 1 成功 0 失败
     * @throws Exception e
     */
    int deleteSysOperationLog(String id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param paramsMap 参数
     * @return 集合
     * @throws Exception e
     */
    List<SysOperationLog> getSysOperationLogPageList(Map<String, Object> paramsMap) throws Exception;


}
